const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  getUsername: state => state.user.getUserInfo.username,
  staffPhoto: state => state.user.getUserInfo.staffPhoto,
  getcompanyId: state => state.user.getUserInfo.companyId,
  routerList: state => state.permission.routers,
  isPermission: state => state.user.getUserInfo.roles.points
}
export default getters
